package com.culture.config.dao.entity;

import java.io.Serializable;
import java.util.Date;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@Data
@Accessors(chain=true)
@NoArgsConstructor
public class UserRole implements Serializable {		
	private static final long serialVersionUID = -5765427757499812310L;
	Long id;
	Long userId;
	Long roleId;
	String roleName;
	String userName;	
	Integer deleted;
	String createBy;
	Date createTime;
	String updateBy;
	Date updateTime;		
	
	public UserRole(Long userId) {
		this.userId = userId;
	}	
	
	public UserRole(Long userId, Long roleId) {
		this.userId = userId;
		this.roleId = roleId;		
	}
}
